package com.lsc.record.core.service;

import com.lsc.record.core.entity.DmForm;
import com.lsc.record.core.entity.DmType;
import com.mybatisflex.core.service.IService;

public interface FormServcie extends IService<DmForm> {
	/**
	 * 初始化表单对象
	 * @param typeRelation 完整的type对象
	 */
	public void initForm(DmType typeRelation);

	/**
	 * 判断表单数据的有效性
	 * @param data
	 * @return
	 */
	public void saveCheck(DmForm data) throws Exception;
}
